Support having a generic writer instead of a termcolor StandardStream
authorNick Cameron <ncameron@mozilla.com>
Fri, 16 Jun 2017 02:57:27 +0000 (14:57 +1200)
committerNick Cameron <ncameron@mozilla.com>
Sat, 17 Jun 2017 04:38:50 +0000 (16:38 +1200)
commit6f45cb618231c98ccf35358decc9c388c453941a
treeb0cce2f242f7aea261e1ffcd46e500ac6148746b
parentb4b7ed5bd8759f947c44d34b00b80343575e9fbf
Support having a generic writer instead of a termcolor StandardStream

This is requied by the RLS (and presumably any other client who wants to use Cargo as a lib and redirect output)
src/cargo/core/shell.rs
src/cargo/lib.rs
src/cargo/ops/cargo_new.rs
src/cargo/ops/cargo_rustc/job_queue.rs
src/cargo/ops/registry.rs